<div>

    <div class="ibox ">
        <div class="ibox-title">
            <h5><span>
                    <vc:i18n name="查询条件"></vc:i18n>
                </span></h5>
            <div class="ibox-tools" style="top:10px;">

            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-4">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请填写优惠券编号','couponPropertyUserManage')"
                            v-model="couponPropertyUserManageInfo.conditions.couponId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请填写优惠券名称','couponPropertyUserManage')"
                            v-model="couponPropertyUserManageInfo.conditions.couponName" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请填写有效期','couponPropertyUserManage')"
                            v-model="couponPropertyUserManageInfo.conditions.validityDay" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryCouponPropertyUserMethod()">
                        <i class="glyphicon glyphicon-search"></i> <span>
                            <vc:i18n name="查询"></vc:i18n>
                        </span>
                    </button>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-4">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请填写用户名称','couponPropertyUserManage')"
                            v-model="couponPropertyUserManageInfo.conditions.userName" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请填写手机号','couponPropertyUserManage')"
                            v-model="couponPropertyUserManageInfo.conditions.tel" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-3">
                    <select class="custom-select" v-model="couponPropertyUserManageInfo.conditions.toType">
                        <option selected value="">{{vc.i18n('选择用途','couponPropertyUserManage')}}
                        </option>
                        <option value="1001">{{vc.i18n('购物','couponPropertyUserManage')}}
                        </option>
                        <option value="2002">{{vc.i18n('缴费','couponPropertyUserManage')}}
                        </option>
                        <option value="3003">{{vc.i18n('维修劵','couponPropertyUserManage')}}
                        </option>
                        <option value="4004">{{vc.i18n('停车劵','couponPropertyUserManage')}}
                        </option>
                    </select>
                </div>
                <div class="col-sm-1">
                </div>
            </div>
            <div class="row">
                <div class="col-sm-4">
                    <select class="custom-select" v-model="couponPropertyUserManageInfo.conditions.state">
                        <option selected value="">
                            {{vc.i18n('请选择状态','couponPropertyUserManage')}}
                        </option>
                        <option value="1001">{{vc.i18n('未使用','couponPropertyUserManage')}}
                        </option>
                        <option value="2002">{{vc.i18n('已使用','couponPropertyUserManage')}}
                        </option>
                    </select>
                </div>
            </div>


        </div>
    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5><span>
                    <vc:i18n name="业主优惠券" namespace="couponPropertyUserManage"></vc:i18n>
                </span></h5>
            <div class="ibox-tools" style="top:10px;">

            </div>
        </div>
        <div class="ibox-content">

            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">
                            <vc:i18n name='编号' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='优惠券名称' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='面值' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='有效期' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='用户名称' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='手机号' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='用途' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='数量' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='状态' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='生效时间' namespace='couponPropertyUserManage'></vc:i18n>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="couponPropertyUser in couponPropertyUserManageInfo.couponPropertyUsers">
                        <td class="text-center">{{couponPropertyUser.couponId}}</td>
                        <td class="text-center">{{couponPropertyUser.couponName}}</td>
                        <td class="text-center">{{couponPropertyUser.value}}</td>
                        <td class="text-center">{{couponPropertyUser.validityDay}}</td>
                        <td class="text-center">{{couponPropertyUser.userName}}</td>
                        <td class="text-center">{{couponPropertyUser.tel}}</td>
                        <td class="text-center">{{couponPropertyUser.toTypeName}}</td>
                        <td class="text-center">{{couponPropertyUser.stock}}张</td>
                        <td class="text-center">{{couponPropertyUser.state == '1001'?'未使用':'已使用'}}</td>
                        <td class="text-center">{{couponPropertyUser.startTime}}</td>


                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>

    </div>

</div>